<template>
    <table class="table">
        <thead>
            <tr>
                <td>编号</td>
                <td>会员名称</td>
                <td>年龄</td>
                <td>性别</td>
                <td>状态</td>
                <td>出生日期</td>
                <td>记录添加日期</td>
            </tr>
        </thead>
        <tbody>
            <tr v-for="c in dataa">
                <td>{{c.storesId}}</td>
                <td>{{c.storesName}}</td>
                <td>{{c.age}}</td>
                <td>{{c.sex}}</td>
                <td>{{c.state}}</td>
                <td>{{c.date}}</td>
                <td>{{c.jldate}}</td>
            </tr>
        </tbody>
    </table>
</template>

<script setup lang="ts">
import axios from 'axios';
import { onMounted,ref} from 'vue';

onMounted(()=>{
    XianShiView()
})

var dataa=ref([])

const XianShiView=()=>
{
    axios.get("/api/Stores/Xian",{params:dataa.value}).then(res=>
    {
        dataa.value=res.data
    })
}

</script>
<style scoped></style>